<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysAddrTypeBean.id}"/>
		<f:event type="preRenderView" listener="#{sysAddrTypeBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Addr Type"/>

	<ui:define name="header">
		Sys Addr Type
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Addr Type
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypeAddrTypeNo" value="Addr Type No:"/>
			<h:outputText id="sysAddrTypeBeanSysAddrTypeAddrTypeNo" value="#{sysAddrTypeBean.sysAddrType.addrTypeNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypeAddrTypeDescr" value="Addr Type Descr:"/>
			<h:outputText id="sysAddrTypeBeanSysAddrTypeAddrTypeDescr" value="#{sysAddrTypeBean.sysAddrType.addrTypeDescr}"/>
			<h:outputText/>
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypePcPurchaseOrderSupplierAddrs" value="Pc Purchase Order Supplier Addrs:"/>
			<h:dataTable id="sysAddrTypeBeanSysAddrTypePcPurchaseOrderSupplierAddrs" styleClass="data-table" value="#{forgeview:asList(sysAddrTypeBean.sysAddrType.pcPurchaseOrderSupplierAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pc Purchase Order"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemPcPurchaseOrder" value="#{forgeview:display(_item.pcPurchaseOrder)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Supplier Addr No"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPoSupplierAddrNo" value="#{_item.poSupplierAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Supplier Addr Moo"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPoSupplierAddrMoo" value="#{_item.poSupplierAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Supplier Addr Soi"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPoSupplierAddrSoi" value="#{_item.poSupplierAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSdCustUserAddrs" value="Sd Cust User Addrs:"/>
			<h:dataTable id="sysAddrTypeBeanSysAddrTypeSdCustUserAddrs" styleClass="data-table" value="#{forgeview:asList(sysAddrTypeBean.sysAddrType.sdCustUserAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sd Cust"/>
					</f:facet>
					<h:link outcome="/sdCustUserAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSdCust" value="#{forgeview:display(_item.sdCust)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/sdCustUserAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust User Addr No"/>
					</f:facet>
					<h:link outcome="/sdCustUserAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustUserAddrNo" value="#{_item.custUserAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust User Addr Moo"/>
					</f:facet>
					<h:link outcome="/sdCustUserAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustUserAddrMoo" value="#{_item.custUserAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust User Addr Soi"/>
					</f:facet>
					<h:link outcome="/sdCustUserAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustUserAddrSoi" value="#{_item.custUserAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypeHrEmpAddrs" value="Hr Emp Addrs:"/>
			<h:dataTable id="sysAddrTypeBeanSysAddrTypeHrEmpAddrs" styleClass="data-table" value="#{forgeview:asList(sysAddrTypeBean.sysAddrType.hrEmpAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Hr Emp"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Emp Addr No"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemEmpAddrNo" value="#{_item.empAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Emp Addr Moo"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemEmpAddrMoo" value="#{_item.empAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Emp Addr Soi"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemEmpAddrSoi" value="#{_item.empAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypeMmSupplierAddrs" value="Mm Supplier Addrs:"/>
			<h:dataTable id="sysAddrTypeBeanSysAddrTypeMmSupplierAddrs" styleClass="data-table" value="#{forgeview:asList(sysAddrTypeBean.sysAddrType.mmSupplierAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Mm Supplier"/>
					</f:facet>
					<h:link outcome="/mmSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemMmSupplier" value="#{forgeview:display(_item.mmSupplier)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/mmSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Supplier Addr No"/>
					</f:facet>
					<h:link outcome="/mmSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSupplierAddrNo" value="#{_item.supplierAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Supplier Addr Moo"/>
					</f:facet>
					<h:link outcome="/mmSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSupplierAddrMoo" value="#{_item.supplierAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Supplier Addr Soi"/>
					</f:facet>
					<h:link outcome="/mmSupplierAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSupplierAddrSoi" value="#{_item.supplierAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSdCustAddrs" value="Sd Cust Addrs:"/>
			<h:dataTable id="sysAddrTypeBeanSysAddrTypeSdCustAddrs" styleClass="data-table" value="#{forgeview:asList(sysAddrTypeBean.sysAddrType.sdCustAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sd Cust"/>
					</f:facet>
					<h:link outcome="/sdCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSdCust" value="#{forgeview:display(_item.sdCust)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/sdCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust Addr No"/>
					</f:facet>
					<h:link outcome="/sdCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustAddrNo" value="#{_item.custAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust Addr Moo"/>
					</f:facet>
					<h:link outcome="/sdCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustAddrMoo" value="#{_item.custAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust Addr Soi"/>
					</f:facet>
					<h:link outcome="/sdCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustAddrSoi" value="#{_item.custAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSdSaleOrderCustAddrs" value="Sd Sale Order Cust Addrs:"/>
			<h:dataTable id="sysAddrTypeBeanSysAddrTypeSdSaleOrderCustAddrs" styleClass="data-table" value="#{forgeview:asList(sysAddrTypeBean.sysAddrType.sdSaleOrderCustAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sd Sale Order"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSdSaleOrder" value="#{forgeview:display(_item.sdSaleOrder)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="So Cust Addr No"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSoCustAddrNo" value="#{_item.soCustAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="So Cust Addr Moo"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSoCustAddrMoo" value="#{_item.soCustAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="So Cust Addr Soi"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSoCustAddrSoi" value="#{_item.soCustAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSdQuotationCustAddrs" value="Sd Quotation Cust Addrs:"/>
			<h:dataTable id="sysAddrTypeBeanSysAddrTypeSdQuotationCustAddrs" styleClass="data-table" value="#{forgeview:asList(sysAddrTypeBean.sysAddrType.sdQuotationCustAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/sdQuotationCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sd Quotation"/>
					</f:facet>
					<h:link outcome="/sdQuotationCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSdQuotation" value="#{forgeview:display(_item.sdQuotation)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Qt Cust Addr No"/>
					</f:facet>
					<h:link outcome="/sdQuotationCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemQtCustAddrNo" value="#{_item.qtCustAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Qt Cust Addr Moo"/>
					</f:facet>
					<h:link outcome="/sdQuotationCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemQtCustAddrMoo" value="#{_item.qtCustAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Qt Cust Addr Soi"/>
					</f:facet>
					<h:link outcome="/sdQuotationCustAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemQtCustAddrSoi" value="#{_item.qtCustAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSysCompanyAddrs" value="Sys Company Addrs:"/>
			<h:dataTable id="sysAddrTypeBeanSysAddrTypeSysCompanyAddrs" styleClass="data-table" value="#{forgeview:asList(sysAddrTypeBean.sysAddrType.sysCompanyAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Company"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysCompany" value="#{forgeview:display(_item.sysCompany)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Com Addr No"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemComAddrNo" value="#{_item.comAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Com Addr Moo"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemComAddrMoo" value="#{_item.comAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Com Addr Soi"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemComAddrSoi" value="#{_item.comAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>